package com.game.business.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.game.common.core.domain.BaseEntity;
import com.game.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 充值订单对象 t_cz_order
 *
 * @author ruoyi
 * @date 2025-10-19
 */
@Data
@TableName(value = "t_cz_order")
@EqualsAndHashCode(callSuper = true)
public class TCzOrder extends BaseEntity{
private static final long serialVersionUID = 1L;

/** $column.columnComment */
@TableId(type = IdType.ASSIGN_ID)
private String id;
/** "订单编号" */
@Excel(name = "订单编号")
private String orderNo;
/** "用户Id" */
@Excel(name = "用户Id")
private String userId;
/** "实付金额" */
@Excel(name = "实付金额")
private BigDecimal price;

 @Excel(name = "君子币数量")
 private BigDecimal jzbMoney;
/** "订单状态1 未支付 2 已支付" */
@Excel(name = "订单状态1 未支付 2 已支付")
private String orderStatus;
/** "下单时间" */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date orderTime;
/** "取消时间" */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "取消时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date cancelTime;
/** "支付时间" */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date payTime;
/** "支付方式" 1 微信小程序支付 2  微信app支付 3 支付宝支付 */
@Excel(name = "支付方式")
private String payType;
/** "是否退款  0 未退款  1 已退款" */
@Excel(name = "是否退款  0 未退款  1 已退款")
private String isRefund;
/** "订单关闭原因 1-超时未支付 2-退款关闭 4-买家取消 15-已通过货到付款交易" */
@Excel(name = "订单关闭原因 1-超时未支付 2-退款关闭 4-买家取消 15-已通过货到付款交易")
private String closeType;
/** "订单标题" */
@Excel(name = "订单标题")
private String title;
/** "微信支付平台订单号" */
@Excel(name = "微信支付平台订单号")
private String outTradeNo;
private String delFlag;
 }
